package com.tomato.drugstore.enums;

import lombok.Getter;

@Getter
public enum ResultEnum {
    FORM_ERROR(100, "表单错误"),
    CATEGORY_EXIT_ERROR(101, "类目已存在"),
    CATEGORY_NOT_EXIT_ERROR(102, "类目不存在"),
    ;
    private Integer code;
    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
